#!/usr/bin/env bash

readonly PROJECT_NAME='memcached-list-compose'
readonly COMPOSE_FILE='memcached-list-compose.yml'

cmd=$1
case ${cmd} in
up)
  docker-compose -f ${COMPOSE_FILE} -p ${PROJECT_NAME} up -d
  ;;
*)
  docker-compose -f ${COMPOSE_FILE} -p ${PROJECT_NAME} "${cmd}"
  ;;
esac
